package com.qdxwx.data.mapper.user;

import com.qdxwx.models.user.UserVitae;
import com.qdxwx.models.user.UserWorkHistory;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserWorkHistoryMapper {

    int insertUserWorkHistory(UserWorkHistory userWorkHistory);

    UserWorkHistory selectById(int id);

    List<UserWorkHistory> selectListByUserId(long userId);

    int selectCountByUserId(long userId);

    int updataUserWorkHistory(UserWorkHistory userWorkHistory);

    int deleteById(int id);
}
